package org.example.springboot_gradle.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 宿舍表
 * </p>
 *
 * @author HAJ.it
 * @since 2025-02-18
 */
@Getter
@Setter
@TableName("tbl_hostel")
public class Hostel implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 宿舍号码
     */
    private String hostelNumber;

    /**
     * 宿舍入住性别 1男生 2女生
     */
    private Integer hostelSex;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;


}
